package com.yellow.userservice.service.LoginServiceImpl;

import com.yellow.userservice.service.LoginService;
import org.springframework.stereotype.Service;

/**
 * @author: hy
 * @create: 2024-03-23
 */
@Service
public class PasswordLoginService implements LoginService {

    @Override
    public boolean login(String username, String password) {
        // 实现密码验证逻辑
        System.out.println("Executing password userservice for user: " + username);
        // 假设验证成功
        return true;
    }
}

